import { RouteRecordRaw } from 'vue-router';

const personalRoutes: Array<RouteRecordRaw> = [
    {
        path: '/personal',
        name: 'Personal',
        meta:{moduleName:'个人中心'},
        component: () => import(/* webpackChunkName: "personal" */ '../views/personal/Main.vue'),
        redirect: '/personal/home',
        children:[{
            path: '/personal/home',
            name: 'PersonalHome',
            component: () => import(/* webpackChunkName: "personal" */ '../views/personal/Home.vue'),
        },{
            path: '/personal/personalsetting',
            name: 'PersonalSetting',
            component: () => import(/* webpackChunkName: "personal" */ '../views/personal/PersonalSetting.vue'),
        }]
    },
]

export default personalRoutes;
  